C program to sort numbers in ascending order